package com.zzyl.nursing.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 家属老人关联对象 family_bind_elder
 *
 * @author mr.wu
 * @date 2025-05-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("family_bind_elder")
public class FamilyBindElder {
    /**
     * 创建人id
     */
    private Long createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 老人id
     */
    private Long elderId;

    /**
     * 家属用户ID
     */
    private Long familyMemberId;


    /**
     * 称呼
     */
    private String remark;

    /**
     * 更新人id
     */
    private Long updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}